package io.sage.ch01.v1;

/**
 * 电影
 */
public class Movie {
    // 儿童片
    public static final int CHILDRENS = 2;
    // 普通片
    public static final int REGULAR = 0;
    // 新片
    public static final int NEW_RELEASE = 1;

    // 标题
    private String _title;
    // 价格
    private int _priceCode;

    public Movie(String _title, int _priceCode) {
        this._title = _title;
        this._priceCode = _priceCode;
    }

    public String getTitle() {
        return _title;
    }

    public int getPriceCode() {
        return _priceCode;
    }

    public void setPriceCode(int _priceCode) {
        this._priceCode = _priceCode;
    }
}
